package routers

import (
	"hook/controller"

	"github.com/gin-gonic/gin"
)

var hook controller.HookController

func EnableAPI(router *gin.Engine) {
	v1 := router.Group("api") //内部接口
	{
		v1.POST("/hook/:id", hook.Hook)
	}

}
